﻿using System;

namespace ElectronicCommerce.Framework.ExceptionManagement.Interface
{
    /// <summary>
    /// IExLogHandler 的摘要说明。
    /// </summary>
    public interface IExLogHandler
    {
        /// <summary>
        /// 异常日志记录方法
        /// </summary>
        /// <param name="ex">异常对象</param>
        /// <param name="strErrorCode">异常代码，在我的项目中该字段被移用为友好提示信息了</param>
        /// <param name="strLayerName">层名称</param>
        /// <param name="strUserId">当前用户Id</param>
        /// <param name="strExtention">扩展字段</param>
        /// <returns></returns>
        void ExLog(Exception ex, string strErrorCode, string strErrorMessage, string pageAlias, string strLayerName, string strUserId, params string[] strExtention);
    }
}
